import cn.hutool.core.lang.Opt;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.jdbc.Null;

import java.util.Optional;

public class Demo {
    static final String sql = "CREATE TABLE `t_user_%d` (\n" +
            "  `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',\n" +
            "  `username` varchar(255) COLLATE utf8mb4_0900_bin DEFAULT NULL COMMENT '用户名',\n" +
            "  `password` varchar(255) COLLATE utf8mb4_0900_bin DEFAULT NULL COMMENT '密码',\n" +
            "  `real_name` varchar(128) COLLATE utf8mb4_0900_bin DEFAULT NULL COMMENT '真实姓名',\n" +
            "  `phone` varchar(128) COLLATE utf8mb4_0900_bin DEFAULT NULL COMMENT '手机号',\n" +
            "  `mail` varchar(255) COLLATE utf8mb4_0900_bin DEFAULT NULL COMMENT '邮箱',\n" +
            "  `deletion_time` bigint DEFAULT NULL COMMENT '删除时间',\n" +
            "  `create_time` datetime DEFAULT NULL COMMENT '创建时间',\n" +
            "  `update_time` datetime DEFAULT NULL COMMENT '修改时间',\n" +
            "  `del_flag` tinyint(1) DEFAULT NULL COMMENT '删除标识0:未删除',\n" +
            "  PRIMARY KEY (`id`),\n" +
            "  UNIQUE KEY `unique_username` (`username`) USING BTREE COMMENT '用户名要求唯一'\n" +
            ") ENGINE=InnoDB AUTO_INCREMENT=1737439628442796035 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin;";

    public static void main(String[] args) {
        String s = null;
        String s1 = Optional.ofNullable(s).orElse("asfd");
        System.out.println(s1);

    }
}
